<?php

	define('type_operation', 'type_operation');
	define('id_track_commit', 'id track commit');
	define('MTX_EMAIL', 'MTX_EMAIL');
	define('STX_USERID_CASE_SENSITIVE', 'STX_USERID_CASE_SENSITIVE');
	define('STX_MD5_PASSWORD', 'STX_MD5_PASSWORD');
	define('PK_SESSION', 'PK_SESSION');
	define('INT_KEY_REGISTER', 'INT_KEY_REGISTER');
	define('LNG_LAST_MACRO_BOUND_REFRESH', 'LNG_LAST_MACRO_BOUND_REFRESH');
	define('left_bound_latitude', 'left_bound_latitude');
	define('right_bound_latitude', 'right_bound_latitude');
	define('top_bound_latitude', 'top_bound_latitude');
	define('bottom_bound_latitude', 'bottom_bound_latitude');
	define('PK_COMMENT', 'PK_COMMENT');
	define('PK_MESSAGE', 'PK_MESSAGE');
	define('FK_MESSAGE', 'FK_MESSAGE');
	define('TMS_CREATED', 'TMS_CREATED');
	define('QTY_LIKE', 'QTY_LIKE');
	define('QTY_UNLIKE', 'QTY_UNLIKE');
	define('i_liked_unliked_this', 'i_liked_unliked_this');
	define('add_less_like_unlike', 'add_less_like_unlike');
	define('LTX_COMMENT', 'LTX_COMMENT');
	define('TMS_LAST_MESSAGE_UPDATE', 'TMS_LAST_MESSAGE_UPDATE');
	define('TMS_LAST_COMMENT_UPDATE', 'TMS_LAST_COMMENT_UPDATE');
	define('LNG_LATITUDE_IDX', 'LNG_LATITUDE_IDX');
	define('LNG_LONGITUDE_IDX', 'LNG_LONGITUDE_IDX');
	define('QTY_COMMENTS', 'QTY_COMMENTS');
	define('ms_up_to_expiration', 'ms_up_to_expiration');
	define('LTX_MESSAGE', 'LTX_MESSAGE');
	define('error', 'error');
	define('outcome_response', 'outcome response');
	define('messages', 'messages');
	define('comments', 'comments');
	define('type_operation_ping', 'ping');
	define('type_operation_registration', 'registration');
	define('type_operation_login', 'login');
	define('type_operation_logout', 'logout');
	define('type_operation_code_registration', 'code registration');
	define('type_operation_refresh', 'refresh');
	define('type_operation_commit_message', 'commit message');
	define('type_operation_commit_comment', 'commit comment');
	define('type_operation_commit_preference', 'commit preference');
	define('where_preference', 'where');
	
	define('HOST_DB', 'sql.canraid.it');
	define('USER_DB', 'canraidi29256');
	define('PASSWORD_DB', 'canr69063');
	define('DB', 'canraidi29256');
	define('OUTCOME_FAILED', 'X' );
	define('OUTCOME_OK', 'Y' );
	define('OUTCOME_OK_BUT_WARNING', 'W' );
	define('MAX_FAILED_LOGIN', 20);
	define('MS_FREE_LOGIN', 2 * 24 * 60* 60 ); //time() is in seconds!!!!
	define('HEADER_MAIL_CODE', "From: TextHere@canraid.it\r\n" );
	define('SUBJECT_MAIL_CODE', 'CODE to confirm email' );
	define('BODYTEXT_MAIL_CODE', "Hi, \nCanraid Team thanks you for choosing TextHere! Please insert the following code into login form until 48h from now, in order to confirm email address \n \n \n < CODE =  ??CODE?? > \n \n \nbye, \n Canraid Team" );
	define('LESS_LIKE', 'L-' );
	define('ADD_LIKE', 'L+' );
	define('LESS_UNLIKE', 'U-' );
	define('ADD_UNLIKE', 'U+' );
	define('PREFERENCE_COMMENT', 'C' );
	define('PREFERENCE_MESSAGE', 'M' );
	define('CONN_ERR_101', '101-Connection DB error: ??ERROR?? ');
	define('QUERY_ERR_102', '102-Query error: ??ERROR?? ');
	define('SESSION_NOT_FOUND_103', '103-Sessione non presente');
	define('COMMAND_UNKNOWN_ERR_104', '104-Command Preference unknown: ??ERROR?? ');
	define('GENERIC_ERR_105', '105-Generic Error: ??ERROR?? ');
	define('EMAIL_EXISTS_151', '151-Email esistente');
	define('NAME_EXISTS_152', '152-Nome profilo esistente');
	define('USER_LOCKED_153', '153-Utenza bloccata da amministratore');
	define('MAX_TRIED_154', '154-Numero di tentativi di login superati');
	define('LOCKED_UNTIL_155', '155-Login bloccato fino al ??DATE?? ');
	define('NO_LOGIN_156', '156-EMAIL o PASSWORD sbagliata');
	define('WRONG_CODE_157', '157-CODE sbagliato');
	define('EMAIL_NOT_SENT_158', '158-Email con CODE non inviata.');
	define('NEED_CODE_159', '159-Necessario inserire il CODE registrazione.');
	define('WARNING_NEED_CODE_160', '160-Login OK, ma richiesto CODE registrazione entro ??DATE?? ');
	define('PREFERENCE_ERROR_161', '161-Nessun Preference applicato. Dati mancanti. ');
	
	
class Efrom_client {
	
};

class Emessage{

};

class Ecomment{

};

?>